import request from './index.js'
// import axios from "axios";
// import { json } from 'node:stream/consumers';

export const getTokenkey = (data) => {
	return request({
		url: `/open/generateTokenKey`,
		method: 'Post',
    data:data,
	})
}


export const getMedicationCardList = (data) => {
	return request({
		url: `/order/medicationCardList?pageNum=1&pageSize=9999`,
		method: 'Get',
    data:data,
	})
}

export const getMetaList = (orderId) => {
	return request({
		url: `/order/metaList?orderId=${orderId}`,
		method: 'Get',
	})
}

